home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / CrashTrap.v1.0 / Source / CrashTrap_main.m < prev    next >
Encoding:
Text File  |  1995-06-12  |  453 b   |  20 lines

  1. /* Generated by the NeXT Project Builder 
  2.    NOTE: Do NOT change this file -- Project Builder maintains it.
  3. */
  4.  
  5. #import <appkit/appkit.h>
  6. #import "HKCrashTrap.h"
  7.  
  8. void main(int argc, char *argv[]) {
  9.  
  10.     [HKCrashTrap setup];
  11.     [HKCrashTrap setContinueAfterError:YES];  // try to continue after a crash.
  12.  
  13.     [Application new];
  14.     if ([NXApp loadNibSection:"CrashTrap.nib" owner:NXApp withNames:NO])
  15.         [NXApp run];
  16.         
  17.     [NXApp free];
  18.     exit(0);
  19. }
  20.